package com.itheima.pinda.entity.transportline;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.itheima.pinda.entity.base.Entity;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
    * 线路类型表
    */
@Data
@EqualsAndHashCode(callSuper=true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "pd_transport_line_type")
public class PdTransportLineType extends Entity implements Serializable {
    /**
     * 线路类型名称
     */
    @TableField(value = "`name`")
    private String name;

    /**
     * 线路类型编号
     */
    @TableField(value = "type_number")
    private String typeNumber;

    /**
     * 起始地机构类型
     */
    @TableField(value = "start_agency_type")
    private Integer startAgencyType;

    /**
     * 目的地机构类型
     */
    @TableField(value = "end_agency_type")
    private Integer endAgencyType;

    /**
     * 状态  0：禁用   1：正常
     */
    @TableField(value = "`status`")
    private Byte status;
}